<include file="../Public/_top" />
<script  type="text/javascript" src="__THEME__/js/rcalendar.js" ></script>
<style>
#rcalendar{font:14px Microsoft YaHei,SimSun,Arial !important}
</style>
<div class="content">
  <div class="wrap">
  <include file="./_left" />
    <div class="con_main">
      <div class="con_tit">
        <ul class="con_link">
          <li class="on"><a href="javascript:;">查看测试数据</a></li>
        </ul>
      </div>
      <div class="con_tit">基本信息</div>
      <div class="con_box">
        <ul class="test_list">
          <li>
            <div class="test_list_n">测试年份：</div>
            <div class="test_list_i" style="font-size:16px;">{$data.year}年</div>
          </li>
          <li>
            <div class="test_list_n">测试日期：</div>
            <div class="test_list_i" style="font-size:16px;">{$data.date}</div>
          </li>
          <li>
            <div class="test_list_n">所属年级：</div>
            <div class="test_list_i" style="font-size:16px;">{$data.class_type}</div>
          </li>
          <li>
            <div class="test_list_n">所属班级：</div>
            <div class="test_list_i" style="font-size:16px;">{$data.class_name}</div>
          </li>
          <li>
            <div class="test_list_n">学生姓名：</div>
            <div class="test_list_i" style="font-size:16px;">{$data.stu.stu_name}</div>
          </li>
          <if condition="$type eq 1">
          <li>
            <div class="test_list_n">测试季度：</div>
            <div class="test_list_i" style="font-size:16px;"><if condition="$data['test_number'] eq 1">春季<else/>秋季</if></div>
          </li>
          <else/>
          <li>
            <div class="test_list_n">测试次数：</div>
            <div class="test_list_i" style="font-size:16px;">第 {$data.test_number} 次</div>
          </li>
          </if>
        </ul>
      </div>
      <div class="con_tit">身体信息</div>
      <div class="con_box">
        <ul class="test_list">
          <li>
            <div class="test_list_n">来园方式：</div>
            <div class="test_list_i" style="font-size:16px;">
              <if condition="$data['modes_transportation'] eq 1">走路</if>
              <if condition="$data['modes_transportation'] eq 2">坐车</if>
            </div>
          </li>
          <li>
            <div class="test_list_n">出生状况：</div>
            <div class="test_list_i" style="font-size:16px;">
              <if condition="$data['stu']['birth_condition'] eq 1">顺产</if>
              <if condition="$data['stu']['birth_condition'] eq 2">剖腹产</if>
            </div>
          </li>
          <volist name="test_project" id="project">
            <li>
              <div class="test_list_n">{$project.project_name}：</div>
                <div class="test_list_i" style="font-size:16px;">
                 <?php 
                  $keyName=array_keys($data);
                  foreach ($keyName as $key => $value) {
                    if($project['english_name']==$value){
                      echo $data[$value];
                    } 
                  }
                 ?>
                <if condition="$project['unit'] neq null">{$project.unit}</if>
                </div>
            </li>
          </volist>
        </ul>
      </div>
      <div class="action_link tc">
        <if condition="$type eq 1">
          <a class="dowm" href="{:U('public/TestData/index')}">确定</a>
        <else/>
          <a class="dowm" href="{:U('public/TestData/TestData')}">确定</a>
        </if>
      </div>
    </div>
  </div>
</div>
<include file="../Public/_foot" />